package com.genghis.ptas.posts.dao;

import com.genghis.core.page.entity.Page;
import com.genghis.core.page.entity.PageParameter;
import com.genghis.ptas.posts.entity.Posts;

/**
 * @author yutong
 * @version 1.0.1
 */

public interface PostsDao {

     int addPosts(Posts posts);

     Page<Posts> findPostsPageList(PageParameter pageParameter,Posts posts);

    Posts findPostById(int id);

    int findReplyNumById(int postId);

    int delPosts(int postId);
}